package prototype.persistence.pojo;

import java.util.List;
import java.io.Serializable;
import java.sql.Timestamp;


/**
 * <p>Pojo mapping TABLE USER_has_UNIT</p>
 * <p></p>
 *
 * <p>Generated at Sun Jan 03 13:49:53 EET 2010</p>
 * @author Salto-db Generator v1.0.16 / Hibernate pojos and xml mapping files.
 * 
 */
public class UserHasUnit implements Serializable {

	/**
	 * Attribute id.
	 */
	private Integer id;
	
	/**
	 * Attribute user
	 */
	 private User user;	

	/**
	 * Attribute unit
	 */
	 private Unit unit;	

	/**
	 * Attribute position
	 */
	 private Position position;	

	
	/**
	 * <p> 
	 * </p>
	 * @return id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id new value for id 
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	
	/**
	 * get user
	 */
	public User getUser() {
		return this.user;
	}
	
	/**
	 * set user
	 */
	public void setUser(User user) {
		this.user = user;
	}

	/**
	 * get unit
	 */
	public Unit getUnit() {
		return this.unit;
	}
	
	/**
	 * set unit
	 */
	public void setUnit(Unit unit) {
		this.unit = unit;
	}

	/**
	 * get position
	 */
	public Position getPosition() {
		return this.position;
	}
	
	/**
	 * set position
	 */
	public void setPosition(Position position) {
		this.position = position;
	}



}